/**
 * 字典数据
 */
import request from '@/utils/request';
/**
 * 字典列表数据 see：http://172.16.6.103:9005/project/91/interface/api/11259
 * @param {[string]} codes 字典集合
 * @param {number} isShowChildFormat 是否展示树状 1展示 0不展示
 */
export async function dictionaryList(param) {
    return request('/api/dict/v1/getList', {
        data: param,
        method: 'POST'
    });
}
/**
 * OA基础数据字典
 * @param {string} dictCode
 */
export async function getTypeList(params) {
    return request('/api/oa/v1/common/select/typelist', {
        method: 'POST',
        params
    });
}
